<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictGroupList" checkbox="false" fitColumns="true" title="实验过程管理" actionUrl="labAppointApplyController.do?processdatagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="工号/学号"  field="appointUser.studentNO"   query="true" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="姓名"  field="appointUser.realName"   query="true" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="角色"  field="appointUser.roleName"   query="false" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="专业"  field="courseSchedule.lessonInfo.major.majorName" replace="${majorList}"  query="true" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="班级"  field="courseSchedule.grade.className"   query="false" replace="${gradeList}" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="学期"  field="courseSchedule.semesterInfo.semesterName"   replace="${semesterList}" query="false" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="考勤时间"  field="createDate" formatter="yyyy-MM-dd" hidden="false"  queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="节次"  field="courseSchedule.courseOrder"   query="false" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="课程名"  field="courseSchedule.lessonInfo.lessonName"   query="true" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="实验室"  field="courseSchedule.lab.name"   query="false" replace="${labList }" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="实验室"  field="courseSchedule.lab.id"  hidden="true"  query="true" replace="${labList }" queryMode="single"  width="60"></t:dgCol>
   
   <t:dgCol title="签到时间"  field="attendBegin" formatter="yyyy-MM-dd" hidden="false"  queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="签出时间"  field="attendEnd" formatter="yyyy-MM-dd" hidden="false"  queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="考勤类型"  field="appointUser.attendType"  query="false" queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="信誉积分"  field="appointUser.score"   query="false" queryMode="single"  width="60"></t:dgCol>   
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 		$("#dictGroupListtb").find("input[name='createDate']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
 
 </script>